// 统一請求路径前缀在libs/axios.js中修改
import {postRequest,} from "@/libs/axios";


// 获取分頁數據
export const list = (params) => {
    return postRequest("/email/list", params, {
        "Content-Type": "application/json"
    });
};

//初始化下拉框
export const initSelect = () => {
    return postRequest("/email/initSelect");
};


// 添加
export const add = (params) => {
    return postRequest("/email/add", params);
};

// 删除
export const del = (params) => {
    return postRequest("/email/del", params);
};






